package com.gxa.modules.app.hospitalization.persional.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName PatientAddDate
 * @Description 新增就诊人的接受数据对象
 * @Author Mr.YUAN
 * @Date 2022/11/14 11:38
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class PatientAddDate implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("患者id(就诊人id)")
    private Integer id;

    @ApiModelProperty("患者的姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("登录用户的id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty("0:本人1：子女2：夫妻3：父母4：朋友")
    @TableField("relation_type")
    private Integer relationType;

    @ApiModelProperty("证件类型：0身份证，1护照，2港澳通行证")
    @TableField("idcard_type")
    private Integer idcardType;

    @ApiModelProperty("证件号码")
    @TableField("card_num")
    private String cardNum;

    @ApiModelProperty("性别")
    @TableField("address")
    private Integer sex;

    @ApiModelProperty("年龄")
    @TableField("address")
    private Integer age;

    @ApiModelProperty("就诊卡号（后台自动为就诊人生成卡号）")
    @TableField("visit_num")
    private String visitNum;

    @ApiModelProperty("就诊人电话号码")
    @TableField("phone")
    private String phone;


    @ApiModelProperty("就诊人地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("设为默认就诊人（0：默认，1：非默认）")
    @TableField("status")
    private Integer status;

}